<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>评价</title>
    <meta name="Keywords" content="书">
    <link href="__PUBLIC__/home/css/public1.css" rel="stylesheet" type="text/css">

</head>
<body id="body">

        <div class="w w1280">
            <!------- 顶部工具栏 ------>
            <div class="site-nav">
    <div class="wrap">
        <ul class="fl">
            <li>欢迎光临！</li>
                </ul>

                <ul class="fr">
                    <li class="mobile">
                        <div class="tit"><a href="__MODULE__/Index/index">首页</a></div>
                    </li>
                    
                    <if condition="$V=SESSION('username')">
                    <li id="" style="">
                        <a rel="nofollow" href="__MODULE__/Collect/index">我的收藏</a>
                    </li>
                    <li id="" style="">
                        <a rel="nofollow" href="__MODULE__/User/index">会员中心</a>
                    </li>
                    <li id="" style="">
                        <a rel="nofollow" href="__MODULE__/Cart/index/goodsNum/1">去购物车</a>
                    </li>
                    <li id="_logout" style="">
                        <a href="__MODULE__/Login/logout" class="logout">[退出]</a>
                    </li>
                    <li id="" style="">
                        <a rel="nofollow"><{$V}></a>
                    </li>
                    <else/>
                    <li id="_register" style="">
                        <a rel="nofollow" href="__MODULE__/Register/index">[注册]</a>
                    </li>
                    <li id="_login" style="">
                        <a rel="nofollow" href="__MODULE__/Login/index">[登录]</a>
                    </li>
                    
                    </if>
                </ul>
            </div>
        </div>
        
        </div>

            <div class="wrap">
                    <!--面包屑-->
                    <div class="crumbs"><a class="ml0" href="__MODULE__/index/index">首页</a>&gt;<a href="__MODULE__/user/index" class="j_ygnav">会员中心</a><span class="j_thridcrumbs hide">&gt;<a href="#" class="on j_thirdnav">评价商品</a></span></div>
                <div class="content myyg">
                        <div class="sub">
                            <div class="menu j_menu">
                                <dl>
                                    <dt>交易信息</dt>
                                    <dd>
                                        <ul>
                                            <li><a href="__MODULE__/order/myorder">我的订单</a></li>
                                            <li><a href="__MODULE__/collect/index">我的收藏</a></li>
                                       
                                        </ul>
                                    </dd>
                                    <dt>账号信息</dt>
                                    <dd>
                                        <ul>

                                            <li><a href="__MODULE__/user/mod">修改资料</a></li>
                                            <li><a href="__MODULE__/user/pwd">修改密码</a></li>
                                        </ul>
                                    </dd>

                                </dl>
                            </div>
                            <div>
                                <div class="ad" style="height: 308px;">
                                    <a href="#" target="_self" ><img src="__PUBLIC__/home/user/imgs/ad.jpg" width="194" height="308"></a>
                                </div>
                            </div>
                        </div>                   
<style>
    .error {
        color: red;
        margin-left: 100px;
        margin-bottom: 20px;
        display: none;
    }
</style>
<div class="main comments">
    <div class="title">评价商品</div>
    <table class="td-void order-tb">
        <colgroup>
            <col class="number-col">
            <col class="consignee-col">
            <col class="amount-col">
            <col class="operate-col">
        </colgroup>
        <thead>
        <tr>
            <th>订单详情</th>
            <th>收货人</th>
            <th>单价</th>
            <th>操作</th>
        </tr>
        </thead>
        <foreach name='detail' item='detail'>


            <!-- 独立订单 -->

            <tbody>
            <tr class="sep-row"><td colspan="4"></td></tr>
            <tr class="tr-th">
                <td colspan="4">
                    <span class="gap"></span>
                    <span class="number">订单号：<a href="" target="_blank"><{$detail.order_number}></a></span>

                </td>
            </tr>
            <tr class="tr-bd">
                <td style="vertical-align:middle;">
                    <div class="goods-item">
                        <div class="p-img">
                            <a href="#">
                                <img src="__PUBLIC__/Upload/<{$detail.goodspic}>" alt="" style="width:60px;">
                            </a>
                        </div>
                        <div class="p-msg">
                            <div class="p-name" style="line-height: 62px">
                                <a href="#"><{$detail.goods_name}></a>
                            </div>
                        </div>
                    </div>

                    <div class="clr"></div>
                </td>
                <td rowspan="2" style="vertical-align:middle;">
                    <div class="consignee">
                        <span class="txt"><{$_SESSION[username]}></span><b></b>
                    </div>
                </td>
                <td rowspan="2"  style="vertical-align:middle;">
                    <div class="amount">
                        <span>
                            ￥<{$detail.price}>
                        </span>
                    </div>
                </td>
                <td rowspan="2"  style="vertical-align:middle;">
                    <div class="operate">
                        <form action="__CONTROLLER__/add" method="post" enctype="multipart/form-data">
                            <input type="hidden" value="<{$detail.order_number}>" name="order_number">
                            <if condition="$comment[$detail[goods_id]]">
                                <{$comment[$detail[goods_id]][content]}>
                                <else/>
                                <div class="comment_txt">
                                    <b style="font-size:18px">评价:</b>
                                    <div>
                                        <input type="hidden" name="order_number" value="<{$detail.order_number}>">
                                        <input type="hidden" name="goods_name" value="<{$detail.goods_name}>">
                                        <input type="hidden" name="goods_id" value="<{$detail.goods_id}>">

                                        <textarea name="content" style="color:#ccc;width:355px;height:100px;" placeholder="评价内容请限制在500个字以内..."></textarea>

                                    </div>
                                </div>
                                <div>
                                    <b>晒图：</b>

                                    <input type="file" name="commentic" style= "width:200px;top:350px;left:650px;" />


                                </div>
                                <input  type="submit" value="提交" style="font-size:16px;" />
                            </if>
                        </form>
                    </div>
                </td>
            </tr>

            </tbody>


    </foreach>
    </table>
</div>



    <!------- 页尾 ------>

                    <include file="./Public/footer.html" />

</div>

<style>
    .clear{
        clear: both;
    }
    html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, em, button
    {
        margin: 0px;
        padding: 0px;
        font-size: 12px;
        
    }
    img, fieldset
    {
        border: none;
        vertical-align: middle;
    }
    input, textarea
    {
        font-size: 12px;
        color: #333;
    }



    .yg_top_con .dl_top dd
    {
        float: left;
        height: 24px;
        line-height: 24px;
        border-right: 1px #dbdbdb solid;
        text-indent: 12px;
    }


    .yg_top_con .dl_con dd
    {
        float: left;
        height: 24px;
        line-height: 24px;
        text-indent: 12px;
    }





    button.yg_btn2:hover
    {
        background: url(http://img02.yiguo.com/YGUpload/images/bg.gif) 0px -113px no-repeat;
    }
    

    .yg_tan_tit_bg h3
    {
        float: left;
        width: 100px;
        font-size: 14px;
        font-weight: 700;
        text-indent: 10px;
    }
    .yg_tan_tit_bg a
    {
        float: right;
        background: url(http://img02.yiguo.com/YGUpload/images/bg.gif) -55px -109px no-repeat;
        display: block;
        margin-right: 10px;
        width: 22px;
        height: 29px;
        font-size: 12px;
    }
    
    .yg_setter
    {
        font-size: 12px;
        width: 480px;
        height: 341px;
        border: 1px solid #dddddd;
        top: 50%;
        left: 50%;
        margin-left: -240px;
        margin-top: -175px;
        position: absolute;
        z-index: 2;
    }
    .yg_scroll_con1
    {
        position: absolute;
        top: 0px;
        left: 0;
        text-align: center;
        width: 100%;
    }
    .order-tb{width:100%;border-collapse:collapse}
    .order-tb .number-col{width:394px}
    .order-tb .amount-col,.order-tb .consignee-col,.order-tb .status-col{width:105px}
    .order-tb thead th{height:32px;line-height:32px;text-align:center;background:#f5f5f5;color:#666;font-weight:400}
    .order-tb tbody td{border:1px solid #e5e5e5}
    .order-tb .td-02{height:40px;line-height:40px;background:#f5f5f5}
    .order-tb .td-02 .tip{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;background:#ffaa71;color:#fff;height:16px;line-height:16px;margin:0 5px 0 15px;padding:0 2px}
    .order-tb .sep-row{height:20px}
    .order-tb .sep-row td{border:0}
    .order-tb .tr-th{background:#f5f5f5;height:31px;line-height:31px;color:#aaa;overflow:hidden}
    .order-tb .tr-th td{border-bottom-color:#f5f5f5}
    .order-tb .tr-th span{float:left;height:18px;line-height:18px;padding:2px 0 0;_display:inline}
    .order-tb .tr-th a{color:#333}.order-tb .tr-th a:hover{color:#e4393c}
    .order-tb .tr-bd{text-align:center;vertical-align:top}
    .order-tb .tr-bd td{padding:14px 0}
    .order-tb tbody.split-tbody .tr-th td{border-width:0 1px}
    .order-tb tbody.split-tbody .tr-bd td{border-width:0 1px;}
    .order-tb tbody.split-tbody .sep-tr-bd td{padding:0}
    .order-tb tbody.split-tbody-last .tr-bd td{border-width:0 1px 1px}
    .order-tb .tr-th-split td{border-bottom:none}
    .order-tb .tr-th-split .order-count em{font-family:verdana}
    .order-tb .goods-item .p-img{float:left;width:60px;height:60px;border:1px solid #efefef;margin:0 14px;_display:inline}
    .order-tb .goods-item .p-name a{color:#333;*zoom:1}
    .order-tb .goods-item .p-name a:hover{color:#e4393c}
    .order-tb .goods-item .o-similar i{margin-top:2px;background-position:-31px 0}
    .order-tb .goods-item .o-match i{background-position:-56px 0}
    .order-tb .goods-repair .btn-resell b{position:absolute;display:block;top:0;left:9px;width:21px;height:23px;margin-right:5px;}
    .order-tb .goods-repair .btn-resell:hover b{background-position:0 -43px}
    .order-tb .consignee b{display:inline-block;*display:inline;*zoom:1;width:14px;height:16px;vertical-align:middle;margin:0 0 0 5px}

</style>
</div>
</body>
</html>